version 7.0log using ECSA_enep.log, replace#delimit ;*     ***************************************************************** *;*     ***************************************************************** *;*   File-Name:  ECSA_enep.do                                            *;*   Date:       October 24, 2001                                        *;*   Author:     MRG                                                     *;*   Purpose:    Read eup.dta dataset: Basic Model                      *;*   Input File: eup.dta                                                *;*   Output File:ECSA_enep.log                                           *;*   Data Output:                                                        *;*   Previous file:                                                      *;*   Machine:    system11                                                *;*     ****************************************************************  *;*     ****************************************************************  *;set mem 10m;use h:\ECSA\EUP\dofiles\eup.dta;*     ****************************************************************  *;*     Rename some of the variables to coincide more clearly with paper  *;*     ****************************************************************  *;rename bbdrlmag logmag_leftbbd ;rename bbdrstfm  strongfm_leftbbd;rename bbdrtarg targets_leftbbd;rename ddebt1 lagdebt;rename dbtserv2 debtcosts;rename growth gdp;rename pol1 govtype1;rename pol2 govtype2;rename pol3 govtype3;rename partbbd2 leftbbd;rename wkbpart leftwkb;generate logmag_leftwkb = logmag*leftwkb;generate strongfm_leftwkb = strongfm*leftwkb;generate targets_leftwkb = targets*leftwkb;*     ****************************************************************  *;*     ****************************************************************  *;*       Now instead of using logmag as a measure of ideological         *;*       diversity, why not simply use the effective number of parties   *;*       in parliament.  This is preferred to the effective number of    *;*       elective parties.                                               *;*     ****************************************************************  *;*     ****************************************************************  *;*     ****************************************************************  *;*                   Need to generate some new variables                 *;*     ****************************************************************  *;generate enep_leftbbd=leftbbd*enep;generate enep_leftwkb=leftwkb*enep; *     ****************************************************************  *;*            Now rerun basic model: Using BBD for left                  *;*            Equivalent to Model I B in paper with enep                 *;*     ****************************************************************  *;xtpcse  ddebt leftbbd enep strongfm targets enep_leftbbd         strongfm_leftbbd targets_leftbbd lagdebt unemp  gdp debtcosts         govtype1 govtype2 govtype3 if year>1980 & year<1993,p ;*     ****************************************************************  *;*                 Now drop strongfm_leftbbd and targets_leftbbd         *;*                 Equivalent to Model II B in paper with enep           *;*     ****************************************************************  *;xtpcse  ddebt leftbbd enep strongfm targets enep_leftbbd         lagdebt unemp  gdp debtcosts govtype1 govtype2 govtype3 if         year>1980 & year<1993,p ;        *     ****************************************************************  *;*                 Now drop all interaction terms                        *;*            Equivalent to Model III B in paper with enep               *;*     ****************************************************************  *;xtpcse  ddebt leftbbd enep strongfm targets lagdebt unemp  gdp         debtcosts govtype1 govtype2 govtype3 if year>1980 & year<1993,p ;*     ****************************************************************  *;*     ****************************************************************  *;*                Now do the same with  wkb as left measure              *;*     ****************************************************************  *;*     ****************************************************************  *;*     ****************************************************************  *;*                 Now run basic model: Using WKB for left               *;*                Equivalent to Model I A in paper with enep             *;*     ****************************************************************  *;xtpcse  ddebt leftwkb enep strongfm targets enep_leftwkb         strongfm_leftwkb targets_leftwkb lagdebt unemp  gdp debtcosts         govtype1 govtype2 govtype3 if year>1980 & year<1993,p ;*     ****************************************************************  *;*                 Now drop strongfm_leftwkb and targets_leftwkb         *;*                Equivalent to Model II A in paper with enep            *;*     ****************************************************************  *;xtpcse  ddebt leftwkb enep strongfm targets enep_leftwkb         lagdebt unemp  gdp debtcosts govtype1 govtype2 govtype3 if         year>1980 & year<1993,p ;        *     ****************************************************************  *;*                 Now drop all interaction terms                        *;*           Equivalent to Model III A in paper with enep                *;*     ****************************************************************  *;xtpcse  ddebt leftwkb enep strongfm targets lagdebt unemp  gdp         debtcosts govtype1 govtype2 govtype3 if year>1980 & year<1993,p ;                              save    ECSA_enep, replace;exit;